<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>spget</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : January 1995</div>
    <p>
      <b>spget</b> -  retrieves entries of sparse matrix</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[ij,v,mn]=spget(sp)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>sp</b>
        </tt>: real or complex sparse matrix</li>
      <li>
        <tt>
          <b>ij</b>
        </tt>: two columns integer matrix (indices of non-zeros entries)</li>
      <li>
        <tt>
          <b>mn</b>
        </tt>: integer vector with two entries (row-dimension, column-dimension)</li>
      <li>
        <tt>
          <b>v</b>
        </tt>: column vector</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>spget</b>
      </tt> is used to convert the internal representation of sparse
    matrices into the standard <tt>
        <b>ij, v</b>
      </tt> representation.</p>
    <p>
    Non zero entries of <tt>
        <b>sp</b>
      </tt> are located in rows and columns
    with indices in <tt>
        <b>ij</b>
      </tt>.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

sp=sparse([1,2;4,5;3,10],[1,2,3])
[ij,v,mn]=spget(sp);
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="sparse.htm">
        <tt>
          <b>sparse</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="sprand.htm">
        <tt>
          <b>sprand</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="speye.htm">
        <tt>
          <b>speye</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../linear/lufact.htm">
        <tt>
          <b>lufact</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
